/*
 * AgentInfoHolder.java
 * business
 *
 * Created by SunDing on 2016/9/9.
 *
 * Copyright (c) 2016年 yidiandao. All rights reserved.
 */

package com.yidiandao.business.ui.widget.listview.viewholder;

import android.view.View;
import android.widget.ImageView;
import android.widget.LinearLayout;
import android.widget.TextView;

import com.yidiandao.business.R;
import com.yidiandao.business.ui.widget.listview.ViewHolder;

/** */
public class AgentInfoHolder extends ViewHolder {
    public ImageView mIvAgentSingleLogo;
    public TextView mIvAgentSingleName;
    public TextView mTvAgentSingleMarketPrice;
    public TextView mTvAgentSingleDeliveryPrice;
    public LinearLayout mLlAgentInfoItem;
    public TextView mTvAgentLevel;

    @Override
    protected void initView(View rootView) {
        mLlAgentInfoItem = (LinearLayout) rootView.findViewById(R.id.ll_agent_info_item);
        mIvAgentSingleLogo = (ImageView) rootView.findViewById(R.id.iv_agent_single_logo);
        mIvAgentSingleName = (TextView) rootView.findViewById(R.id.iv_agent_sigle_name);
        mTvAgentSingleMarketPrice =
                (TextView) rootView.findViewById(R.id.tv_agent_single_marketPrice);
        mTvAgentSingleDeliveryPrice =
                (TextView) rootView.findViewById(R.id.tv_agent_single_deliveryPrice);
        mTvAgentLevel = (TextView) rootView.findViewById(R.id.tv_agent_level);
    }

    @Override
    protected int getItemLayoutId() {
        return R.layout.item_single_agent;
    }
}
